//
//  TGTaskModel.h
//  TongGuanLease
//
//  Created by 张奇 on 2022/6/9.
//

#import "TGBaseModel.h"

NS_ASSUME_NONNULL_BEGIN

@interface TGCandidateUserModel : TGBaseModel
@property (nonatomic, copy) NSString *name;
@property (nonatomic, copy) NSString *phoneNumber;
@property (nonatomic, copy) NSString *userId;
@end

@interface TGTaskModel : TGBaseModel

@property (nonatomic, copy) NSString *taskId;
@property (nonatomic, copy) NSString *name;
//@property (nonatomic, copy) NSString *description;
@property (nonatomic, copy) NSString *formKey;
/// 审批人ID
@property (nonatomic, copy) NSString *parentTaskId;
/// 任务状态(PENDING-待处理；RESOLVED-已处理),可用值:PENDING,RESOLVED
@property (nonatomic, copy) NSString *delegationState;

///调用选择协同业务员的通过弹窗 = h125调用
@property (nonatomic, copy) NSString *taskDefinitionKey;

///审批时使用
@property (nonatomic, strong) NSArray <TGCandidateUserModel *>*candidateUsers;


@end

NS_ASSUME_NONNULL_END
